package design.patterns.behavioral.state;

/**
 * @author gjx
 * @version v1.0
 * @Description
 * @date 2019/4/10 15:19
 */
public class FrozenHeroState extends HeroState {
    @Override
    public void run() {
        System.out.println("英雄不能行走...");
    }

    @Override
    public void attack() {
        System.out.println("英雄不能攻击.......");
    }

    @Override
    public void frozen() {
        System.out.println("英雄冰冻中....");
    }
}
